
public class Chromosome{
	double dFitness;
	public int [] chromozome;
	Chromosome(){ //constructor
		dFitness=0;
	}
	Chromosome(int length){
		dFitness=0;
		chromozome = new int [length];
		int rnd = 2 + (int)(Math.random() * ((3 - 2) + 1));
		chromozome[0]=rnd;
		for (int j=1;j<chromozome.length;j++){
			chromozome[j]=Rand.randomInt(4)+1;
		}
	}
}
